<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			*{
				padding: 0;
				margin: 0;
			}
			#fuqin{
				width: 191px;
				height: 220px;
				border: 1px solid red;
				position: relative;
			}
			#fuqin .wk,
			#fuqin .yj{
				position: absolute;
				transition: all 2s;
			}
			/*两张卡片,要脱标，要背靠背
			背向观众的那张卡片要隐藏，
			转动时，需要同时转动。*/
			#fuqin .yj{
				transform: rotateY(180deg);
				backface-visibility: hidden;
			}
			#fuqin:hover .yj{
				transform: rotateY(0deg);
			}
			#fuqin:hover .wk{
				transform: rotateY(180deg);
				backface-visibility: hidden;
			}
		</style>
	</head>
	<body>
		<div id="fuqin">
			<div class="wk">
				<img src="img/wukong.jpg"/>
			</div>
			<div class="yj">
				<img src="img/yaojing2.jpg"/>
			</div>
		</div>
	</body>
</html>
